<?php /* Smarty version 2.6.26, created on 2018-07-26 04:22:05
         compiled from D:%5Citemstudy%5Citem/admin%5Ctemplates/goods_order/detail.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'img_size', 'D:\\itemstudy\\item/admin\\templates/goods_order/detail.html', 86, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<div class="cnav"><a href="javascript:;" class="back">订单详情</a></div>
<style type="text/css">
.oinfo{ width:100%; background:#f8f8f8; float:left; }
.oinfo .address{ width:380px; height:100px; padding:10px; border-right:1px solid #efefef; float:left; } 
.oinfo .address dl{ width:100%; float:left; }
.oinfo .address dl dt{ width:80px; float:left; }
.oinfo .address dl dd{ width:300px; float:left; }

.oinfo .orow{ margin-left:385px; padding:10px; position:absolute; float:left; }
.oinfo .orow dl{ width:100%; float:left; }
.oinfo .orow dl dt{ width:80px; padding:0 0 0 20px; float:left; }
.oinfo .orow dl dd{  float:left; }


.info{ width:100%; padding:10px 0 10px 0; float:left; }
.info .name{ width:100%; padding:10px 0 10px 0; float: left; }
.info .name span{ font-size:16px; float:left; }
.info .name a{ padding:5px 0 0 0; float:right; }

.oprice{ width:100%; padding:15px 0 0 0; float:left; }
.oprice .pr{ float:left; }
.oprice .pr dl{ padding:0 20px 0 0; float:left; }
.oprice .pr dl dt{ float:left; }
.oprice .pr dl dd{ float:left; }
</style>
<div class="main">
	<div class="oinfo">
		<div class="address">
			<div class="name"></div>
			<div class="con"> 
				<dl>
					<dt>购买账号：</dt>
					<dd><?php if ($this->_tpl_vars['row']['user']['mobile']): ?><?php echo $this->_tpl_vars['row']['user']['mobile']; ?>
<?php else: ?>匿名购买<?php endif; ?></dd>
				</dl>
				<dl>
					<dt>联系方式：</dt>
					<dd><?php echo $this->_tpl_vars['row']['addr']['name']; ?>
 &nbsp;&nbsp;&nbsp; <?php echo $this->_tpl_vars['row']['addr']['mobile']; ?>
</dd>
				</dl> 
				<dl>
					<dt>详细地址：</dt>
					<dd><?php echo $this->_tpl_vars['row']['addr']['area']; ?>
 <?php echo $this->_tpl_vars['row']['addr']['address']; ?>
</dd>
				</dl> 
				<dl>
					<dt>用户留言：</dt>
					<dd><?php echo $this->_tpl_vars['row']['message']; ?>
</dd>
				</dl> 
			</div>
		</div>
		<div class="orow">
			<dl>
				<dt>订单编号：</dt>
				<dd><?php echo $this->_tpl_vars['row']['order_no']; ?>
</dd>
			</dl> 
			<dl>
				<dt>交易编号：</dt>
				<dd><?php echo $this->_tpl_vars['row']['trade_no']; ?>
</dd>
			</dl>
			
		</div> 
	</div>
	<div class="info">
		<div class="name">
			<span>订单信息</span>
			<?php if ($this->_tpl_vars['stock_status'] == '1'): ?> 
				<a href="?m=stock_out&a=bill_edit&order_no=<?php echo $this->_tpl_vars['row']['order_no']; ?>
">库房出库</a>
			<?php endif; ?> 
		</div>
		<div class="con">
			<table class="ltable">
				<thead>
					<tr> 
						<th width="60">图片</th> 
						<th width="320">标题</th> 
						<th width="80">金额</th>
						<th width="80">数量</th> 
						<th width="80">库房存量</th>  
						<th width="300">产品名</th>  
						<th></th>
					</tr>
				</thead>
				<tbody>
			<?php if ($this->_tpl_vars['row']['goods']): ?>
				<?php $_from = $this->_tpl_vars['row']['goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
					<tr>
						<td><img src="<?php echo $this->_tpl_vars['__IMG__']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['i']['images'])) ? $this->_run_mod_handler('img_size', true, $_tmp, '50x50') : $this->_plugins['modifier']['img_size'][0][0]->img_size($_tmp, '50x50')); ?>
"></td> 
						<td style="padding-right:20px;" valign="top"><?php echo $this->_tpl_vars['i']['title']; ?>
<br>
						<?php if ($this->_tpl_vars['i']['sku']): ?>
							<?php $_from = $this->_tpl_vars['i']['sku']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['s']):
?>		
								<span><?php echo $this->_tpl_vars['s']['0']; ?>
 : <?php echo $this->_tpl_vars['s']['1']; ?>
 &nbsp;&nbsp; </span> 
							<?php endforeach; endif; unset($_from); ?>
						<?php endif; ?>
						</td>
						<td><?php echo $this->_tpl_vars['i']['price']; ?>
</td> 
						<td><?php echo $this->_tpl_vars['i']['buy_num']; ?>
</td>  
						<td><?php echo $this->_tpl_vars['i']['stock_num_cn']; ?>
</td>
						<td><?php echo $this->_tpl_vars['i']['stock_title']; ?>
</td>
						<td></td>
					</tr>
				<?php endforeach; endif; unset($_from); ?>
			<?php else: ?>
				<tr><td colspan="7">还没有数据，赶快添加吧！</td></tr>
			<?php endif; ?>
				</tbody> 
			</table> 
		</div>
		<div class="oprice">
			<div class="pr">
				<dl>
					<dt>支付金额：</dt>
					<dd><span style=" color:#f00;"><?php echo $this->_tpl_vars['row']['total_price']; ?>
</span></dd>
				</dl>
				<dl>
					<dt>产品价格：</dt>
					<dd><?php echo $this->_tpl_vars['row']['goods_price']; ?>
</dd>
				</dl> 
				<dl>
					<dt>快递价格：</dt>
					<dd><?php echo $this->_tpl_vars['row']['express_price']; ?>
</dd>
				</dl> 
				<dl>
					<dt>优惠价格：</dt>
					<dd><?php echo $this->_tpl_vars['row']['promote_price']; ?>
</dd>
				</dl> 
				<dl>
					<dt>其他价格：</dt>
					<dd><?php echo $this->_tpl_vars['row']['other_price']; ?>
</dd>
				</dl> 
			</div>
		</div>
	</div> 
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 